package cn.itcast.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "pattern") //识别配置文件中pattern开头的配置
public class PatterPropertites {
    private String dateformat;
}
